package com.wwl.cms.utils.designModeTest.state;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/27 11:30
 * @description:
 */
public class DispenseOutState extends State {
    //初始化传入活动引用
    RaffleActivity activity;
     public DispenseOutState(RaffleActivity activity){
         this.activity = activity;
     }
     @Override
    public void deductMoney(){
         System.out.println("奖品发送完了，请下次再参加");
     }
     @Override
    public boolean raffle(){
         System.out.println("奖品发送完了，请下次再参加");
         return false;
     }
     @Override
    public void dispensePrize(){
         System.out.println("奖品发送完了，请下次再参加");
     }

}
